import PromiseStudy from '@md/files/js/promise.md';
import TailCallOptimization from '@md/files/js/TailCallOptimization.md';
import JsAcrobatics from '@md/files/js/js-acrobatics.md';
import Iterator from '@md/files/js/迭代器.md';
import PrimitiveValueAndrRefernceValue from '@md/files/js/PrimitiveValueAndrRefernceValue.md';
import TypeofAction from '@md/files/js/确定类型typeof.md';
import SummaryOfInterviewQuestions from '@md/files/js/面试问题整理.md';
import GarbageCollection from '@md/files/js/垃圾回收.md';
import PrototypeChain from '@md/files/js/原型链.md';
import Closure from '@md/files/js/closure.md';
import EsMouduleAndCommonJS from '@md/files/js/ES6模块与CommonJS.md';
import EventLoop from '@md/files/js/event-loop.md';
import ProxyAndReflection from '@md/files/js/代理和反射.md';

export default {
  title: 'JavaScript',
  path: '',
  icon: 'el-icon-sugar',
  disabled: false,
  children: [
    {
      subtitle: '手写promise',
      component: PromiseStudy,
      disabled: false,
    },
    {
      subtitle: '尾调用优化',
      component: TailCallOptimization,
      disabled: false,
    },
    {
      subtitle: 'js技巧',
      component: JsAcrobatics,
      disabled: false,
    },
    {
      subtitle: '迭代器',
      component: Iterator,
      disabled: false,
    },
    {
      subtitle: '原始值和引用值',
      component: PrimitiveValueAndrRefernceValue,
      disabled: false,
    },
    {
      subtitle: '确定类型typeof',
      component: TypeofAction,
      disabled: false,
    },
    {
      subtitle: '面试问题整理',
      component: SummaryOfInterviewQuestions,
      disabled: false,
    },
    {
      subtitle: '垃圾回收',
      component: GarbageCollection,
      disabled: false,
    },
    {
      subtitle: '原型链',
      component: PrototypeChain,
      disabled: false,
    },
    {
      subtitle: '从闭包说起',
      component: Closure,
      disabled: false,
    },
    {
      subtitle: 'ES6模块与CommonJS',
      component: EsMouduleAndCommonJS,
      disabled: false,
    },
    {
      subtitle: 'Event Loop',
      component: EventLoop,
      disabled: false,
    },
    {
      subtitle: '代理和反射',
      component: ProxyAndReflection,
      disabled: false,
    },
  ],
};
